/*
 * c4_exercise3.cpp
 *
 *  Created on: Sep 1, 2013
 *      Author: cyper.yin
 */
#include <iostream>
#include <cstring>
using namespace std;

int main_c4e3(int argc, char **argv) {
	char first_name[20];
	char last_name[40];
	cout << "Enter your first name:";
	cin.getline(first_name,20);

	cout << "Enter your last name:";
	cin.getline(last_name,20);

	strcat(last_name,", ");
	strcat(last_name,first_name);

	cout << "Here's the information in a single string:" << last_name;

	return 0;
}



